package com.baizhi.cmfzdemo.service.impl;

import com.baizhi.cmfzdemo.dao.CmfzAdminDao;
import com.baizhi.cmfzdemo.entity.CmfzAdmin;
import com.baizhi.cmfzdemo.service.CmfzAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 54433 on 2019/4/8.
 */
@Service
public class CmfzAdminServiceImpl implements CmfzAdminService {
    @Autowired
    private CmfzAdminDao cmfzAdminDao;

    @Override
    public CmfzAdmin login(CmfzAdmin cmfzAdmin) {
        return cmfzAdminDao.login(cmfzAdmin);
    }
}
